<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript" src="../../../../target/bos/js/angular-route.min.js"></script>
		<script type="text/javascript" src="../../../../target/bos/js/angular.min.js"></script>

	</head>

	<body>
		<!--定义一个 模块-->
		<div ng-app="myapp" ng-controller="mycontroller">
			<div>
				<input type="text" name="name" ng-model="model" />
			</div>
			<div>
				<!--数据双重绑定  使用  {{}}  调用 model 进行数据双重绑定  -->
				King,{{model}}
			</div>
		</div>

		<script type="text/javascript">
			var myapp = angular.module("myapp",[]);
			
			myapp.controller("mycontroller",["$scope",function($scope){
								$scope.model = "123123123123";
				
			}]);
			
		</script>
	</body>

</html>